package org.jeecg.modules.classrooms.classrooms.vo;

import java.util.List;

import lombok.Data;
import org.jeecg.modules.classrooms.classrooms.entity.ClassroomsProperty;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: classrooms
 * @Author: jeecg-boot
 * @Date:   2020-06-03
 * @Version: V1.0
 */
@Data
@ApiModel(value="classroomsPage对象", description="classrooms")
public class ClassroomsPage {

	/**id 教室id*/
	@ApiModelProperty(value = "id 教室id")
	private String id;
	/**教室编号*/
	@Excel(name = "教室编号", width = 15)
	@ApiModelProperty(value = "教室编号")
	private String classroomsNumber;
	/**教室名称*/
	@Excel(name = "教室名称", width = 15)
	@ApiModelProperty(value = "教室名称")
	private String classroomsName;
	/**教室类型*/
	@Excel(name = "教室类型", width = 15)
	@ApiModelProperty(value = "教室类型")
	private String classroomsType;
	/**教室状态*/
	@Excel(name = "教室状态", width = 15)
	@ApiModelProperty(value = "教室状态")
	private String classroomsStatus;
	/**租用状态*/
	@Excel(name = "租用状态", width = 15)
	@ApiModelProperty(value = "租用状态")
	private String rentStatus;
	/**教室面积*/
	@Excel(name = "教室面积", width = 15)
	@ApiModelProperty(value = "教室面积")
	private String classroomsArea;
	/**教室容量*/
	@Excel(name = "教室容量", width = 15)
	@ApiModelProperty(value = "教室容量")
	private String classroomsCapacity;
	/**教室容量*/
	@Excel(name = "教室容量", width = 15)
	@ApiModelProperty(value = "教室容量")
	private String minCapacity;
	/**教室租金*/
	@Excel(name = "教室租金", width = 15)
	@ApiModelProperty(value = "教室租金")
	private String classroomsRental;
	/**教室资产*/
	@Excel(name = "教室资产", width = 15)
	@ApiModelProperty(value = "教室资产")
	private String propertyId;
	/**教室照片*/
	@Excel(name = "教室照片", width = 15)
	@ApiModelProperty(value = "教室照片")
	private String classroomsPhoto;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	
	@ExcelCollection(name="classrooms_property")
	@ApiModelProperty(value = "classrooms_property")
	private List<ClassroomsProperty> classroomsPropertyList;
	
}
